package com.ecar.oauth.provider.beans;

import org.springframework.security.core.Authentication;
import org.springframework.security.oauth2.provider.AuthorizationRequest;
import org.springframework.security.oauth2.provider.approval.ApprovalStoreUserApprovalHandler;

/**
 * Created by 30 on 2016/4/15.
 */
public class OAuthUserApprovalHandler extends ApprovalStoreUserApprovalHandler {//TokenServicesUserApprovalHandler {

	public OAuthUserApprovalHandler() { }

	public boolean isApproved(AuthorizationRequest request, Authentication authentication) {
		return super.isApproved(request, authentication);
	}
}
